Skip to content

Dev#204

Merged
ahmad-ajmal merged 49 commits intostagingfrom
dev
Apr 17, 2026
Merged

Dev#204
ahmad-ajmal merged 49 commits intostagingfrom
dev

Conversation

@ahmad-ajmal
Copy link
Copy Markdown
Collaborator

No description provided.

zfoong and others added 30 commits April 13, 2026 13:15
…dential storage, prompt injection)

- Fix reflected XSS in OAuth callback by HTML-escaping error parameter
- Add OAuth state parameter validation to prevent CSRF attacks
- Add SSRF protection to http_request action (block private IPs, cloud metadata)
- Add path traversal protection to read_file/write_file actions (block sensitive dirs)
- Set restrictive file permissions (0600) on stored credentials
- Make prompt sanitizer actually strip detected injection patterns instead of just logging

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Undo changes for write_file action
Undo changes on read_file
undo changes on prompt_sanitizer
zfoong and others added 19 commits April 15, 2026 18:57
Reset max actions per task to normal rate.
Tasks now track the platform they were started on (Task.source_platform),
and do_chat/do_chat_with_attachments resolve the outbound platform from
that field via session_id, falling back to the user's Preferred Messaging
Platform (read from USER.md, defaulting to "CraftBot Interface"). When a
running task receives a new message from a different platform, it switches
source_platform so subsequent replies follow the user. Also fixes the
USER.md template which was missing the Preferred Messaging Platform
placeholder, causing onboarding to silently drop the selected value.
@ahmad-ajmal ahmad-ajmal merged commit 748c44f into staging Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants